'use strict';

const Service = require('egg').Service;

class HomechannelnavService extends Service {
  async channelNav() {
    const result = [
      {
        id: 1,
        imgUrl: '//cdn.cnbj1.fds.api.mi-img.com/mi-mall/cb65daec7ef7b52cc785f88f78efba37.png',
        href: 'https://m.mi.com/seckill'
      },
      {
        id: 2,
        imgUrl: '//i8.mifile.cn/v1/a1/eb5024fe-dfe3-6e53-3e18-675bef5fa06e.webp',
        href: 'https://m.mi.com/crowdfunding/home'
      },
      {
        id: 3,
        imgUrl: '//cdn.cnbj1.fds.api.mi-img.com/mi-mall/d436f30612651fffe1d6c5aaa3fdb816.png',
        href: 'https://s1.mi.com/m/app/hd/index.html?id=15325'
      },
      {
        id: 4,
        imgUrl: '//i8.mifile.cn/v1/a1/e8bc849a-0a3b-21a0-6810-7da3a3903dee.webp',
        href: 'https://m.mi.com/recycling/index?headless=1&needValidHost=false'
      },
      {
        id: 5,
        imgUrl: '//i8.mifile.cn/v1/a1/7dbcbf87-6a58-adb6-2f3f-bb3dae3e9c80.webp',
        href: 'https://s1.mi.com/m/app/hd/index.html?id=11366'
      },
      {
        id: 6,
        imgUrl: '//cdn.cnbj1.fds.api.mi-img.com/mi-mall/64f3988b6216e4c1ab62a7f50df3e816.png',
        href: 'https://m.mi.com/channel/all/14709'
      },
      {
        id: 7,
        imgUrl: '//cdn.cnbj1.fds.api.mi-img.com/mi-mall/9ea68dee2bfa0e55a82236b0d968e975.png',
        href: 'https://m.mi.com/channel/all/13326'
      },
      {
        id: 8,
        imgUrl: '//cdn.cnbj1.fds.api.mi-img.com/mi-mall/96c780016ea196743905dc93f9249c39.png',
        href: 'https://m.mi.com/channel/all/13249'
      },
      {
        id: 9,
        imgUrl: '//cdn.cnbj1.fds.api.mi-img.com/mi-mall/9425031cdd7af22d9a23a5ae16d1f57c.jpg',
        href: 'https://m.mi.com/channel/all/13365'
      },
      {
        id: 10,
        imgUrl: '//cdn.cnbj1.fds.api.mi-img.com/mi-mall/f11f9df6b0b0b428f8c8fc3267131830.png',
        href: 'https://service.10046.mi.com/channel/'
      }
    ]
    return result
  }
}

module.exports = HomechannelnavService;
